package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 活动类型实体类
 *
 * @author 刘泽启
 * @date 2017/7/13
 */

public class EventTypesBean extends BaseBean {

    /**
     * code : 200
     * data : {"number":[{"id":"15","name":"热点活动","tum":"6"},{"id":"9","name":"名人名家","tum":"4"},{"id":"10","name":"明星校园","tum":"5"},{"id":"12","name":"娱乐赛事","tum":"1"},{"id":"13","name":"二次元","tum":"9"}]}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("number")
        private List<NumberBean> number;

        public List<NumberBean> getNumber() {
            return number;
        }

        public void setNumber(List<NumberBean> number) {
            this.number = number;
        }

        public static class NumberBean {
            /**
             * id : 15
             * name : 热点活动
             * tum : 6
             */

            @SerializedName("id")
            private String id;
            @SerializedName("name")
            private String name;
            @SerializedName("tum")
            private String tum;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTum() {
                return tum;
            }

            public void setTum(String tum) {
                this.tum = tum;
            }

            @Override
            public String toString() {
                return "NumberBean{" +
                        "id='" + id + '\'' +
                        ", name='" + name + '\'' +
                        ", tum='" + tum + '\'' +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "number=" + number +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "EventTypesBean{" +
                "code=" + code +
                ", data=" + data +
                '}';
    }
}
